{% extends 'base.html' %}
{% load pp_url %}
{% load solutiontags %}

{% block title %}Submit New Solution{% endblock %}
{% block css %}

{% endblock %}

{% block content%}

<div class="stage">
		<div class="issuemask">

           <div class="pagehead">Submit a new solution for: {{request.object.name}}</div>

            <div class="submissionbound">
{% pp_solution_form POST=request.POST path=request.path object=request.object request=request %}

   <div class="errors">{{ pp_solution.form.errors }}</div>
	<form method="post" action="">
	    Summary of Solution: <br>{{ pp_solution.form.name }}<br>
	    Description: <br>{{ pp_solution.form.text }}
	  	{{ pp_solution.form.form_id}}
		{% csrf_token %}
    <input type="submit" class="button green" value="Submit Solution" />
	</form>
    {% include '_tutorial.html' %}
    </div>

			<div class="rightcol">
				{% include "_rightcol.html" %}			
					
			</div> 

</div></div>
{% endpp_solution_form %}

{% endblock content %}

